package com.example.zhunongzonghe.beans;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@ApiModel(value="ZnScenicspot对象", description="")
public class ZnScenicspotBean implements Serializable {
    private static final long serialVersionUID=1L;

    /**
     * 旅游景点表
     */
    private Integer spotId;

    /**
     * 所属地区
     */
    private String spotRegion;

    /**
     * 景点名
     */
    private String spotName;

    /**
     * 景点简介
     */
    private String spotBrief;

    /**
     * 地址
     */
    private String spotLocation;

    /**
     * 图片
     */
    private String spotPicture;

    /**
     * 联系电话
     */
    private String spotNumber;

    /**
     * 开放时间
     */
    private String openingHours;

    /**
     * 公告信息
     */
    private String announcement;

    /**
     * 景点介绍
     */
    private String spotIntroduce;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;
}
